package com.dongdong.data;

public enum ResponseStatusEnum {
    SUCCESS(200,"操作成功"),BAD_REQUEST(400,"参数异常"),INTERNAL_SERVER_ERROR(500,"服务器内部错误");
    private Integer index;
    private String name;

    public Integer getIndex() {
        return index;
    }

    public void setIndex(Integer index) {
        this.index = index;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    ResponseStatusEnum(Integer index, String name) {
        this.index = index;
        this.name = name;
    }
}
